package com.ruoyi.yun.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yun.mapper.YunProfileItofthMapper;
import com.ruoyi.yun.domain.YunProfileItofth;
import com.ruoyi.yun.service.IYunProfileItofthService;

/**
 * 物联网卡管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class YunProfileItofthServiceImpl implements IYunProfileItofthService 
{
    @Autowired
    private YunProfileItofthMapper yunProfileItofthMapper;

    /**
     * 查询物联网卡管理
     * 
     * @param id 物联网卡管理主键
     * @return 物联网卡管理
     */
    @Override
    public YunProfileItofth selectYunProfileItofthById(Long id)
    {
        return yunProfileItofthMapper.selectYunProfileItofthById(id);
    }

    /**
     * 查询物联网卡管理列表
     * 
     * @param yunProfileItofth 物联网卡管理
     * @return 物联网卡管理
     */
    @Override
    public List<YunProfileItofth> selectYunProfileItofthList(YunProfileItofth yunProfileItofth)
    {
        return yunProfileItofthMapper.selectYunProfileItofthList(yunProfileItofth);
    }

    /**
     * 新增物联网卡管理
     * 
     * @param yunProfileItofth 物联网卡管理
     * @return 结果
     */
    @Override
    public int insertYunProfileItofth(YunProfileItofth yunProfileItofth)
    {
        return yunProfileItofthMapper.insertYunProfileItofth(yunProfileItofth);
    }

    /**
     * 修改物联网卡管理
     * 
     * @param yunProfileItofth 物联网卡管理
     * @return 结果
     */
    @Override
    public int updateYunProfileItofth(YunProfileItofth yunProfileItofth)
    {
        return yunProfileItofthMapper.updateYunProfileItofth(yunProfileItofth);
    }

    /**
     * 批量删除物联网卡管理
     * 
     * @param ids 需要删除的物联网卡管理主键
     * @return 结果
     */
    @Override
    public int deleteYunProfileItofthByIds(Long[] ids)
    {
        return yunProfileItofthMapper.deleteYunProfileItofthByIds(ids);
    }

    /**
     * 删除物联网卡管理信息
     * 
     * @param id 物联网卡管理主键
     * @return 结果
     */
    @Override
    public int deleteYunProfileItofthById(Long id)
    {
        return yunProfileItofthMapper.deleteYunProfileItofthById(id);
    }
}
